﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using SqlHelper;
using System.Data.SqlClient;


namespace SqlHelper.Tests
{
    public class SqlExceptionTests
    {
        public void ToString()
        {
            SqlParameter[] p = new SqlParameter[]{
                new SqlParameter("id",100)
            };
            SqlException ex = new SqlException("错误", null, "select * from ss", CommandType.Text, p);
            Console.Write(ex.ToString());
        }
    }
}
